package com.example.example003;

class ParentClass3 {
	/* friendly */
	String field = "父类变量";
}
public class SubClass3 extends ParentClass3 {
	
	protected String field = "子类变量";
	
	public static void main(String[] args) {
		SubClass3 subClass = new SubClass3();
		System.out.println(subClass.field);
	}
}
